<?php
/**
 * Created by PhpStorm.
 * User: m1514
 * Date: 2016/12/27
 * Time: 8:43
 */

namespace Admin\Controller;


use Think\Controller;

class CommonController extends Controller
{
    public function __construct()
    {
        parent::__construct();
        if(!isset($_SESSION['admin']['aid'])){
            $this->redirect('Login/index');
        }
    }

}